Skip to content

Conversation

@Saby-Bishops
Copy link
Member

Summary

  • type the Angular AI provider model with the ProviderName union and propagate the stricter typing through chat services and components
  • default frontend chat provider state to a valid ProviderName when toggling providers
  • export ProviderName on the chatapi side and update database/document models and chat service to normalise provider payloads

Testing

  • CI=true CHROME_BIN=/usr/bin/chromium-browser node ./node_modules/@angular/cli/bin/ng test --watch=false --browsers=ChromeHeadless --progress=false (fails: existing validator.service.spec.ts imports of from rxjs/observable/of)
  • npm --prefix /workspace/planet/chatapi run build

https://chatgpt.com/codex/tasks/task_e_68f7d43a7a78832daa25ae6657d86c0c

@Saby-Bishops Saby-Bishops changed the title Align AI provider typing with ProviderName union align AI provider typing with ProviderName union Oct 29, 2025
@Saby-Bishops Saby-Bishops marked this pull request as ready for review November 5, 2025 19:28
@Saby-Bishops Saby-Bishops added triage and removed WIP labels Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants